<?php
$this->breadcrumbs=array(
	'Customers'=>array('customer/admin'),
	$model->customer->getFullName()=>array('customer/view','id'=>$model->customerId),
	'Communications'=>array('admin','customerId'=>$model->customerId),
	'#'.$model->id,
);

$this->menu=array(
	//array('label'=>'List Communication', 'url'=>array('index')),
	array('label'=>'Add Communication', 'url'=>array('create','customerId'=>$model->customerId)),
	array('label'=>'Update Communication', 'url'=>array('update', 'id'=>$model->id)),
	//array('label'=>'Delete Communication', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Communication', 'url'=>array('admin','customerId'=>$model->customerId)),
);
?>

<h1>View Communication #<?php echo $model->id; ?> from <?php echo $model->customer->getFullName();?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		//'id',
		//'customerId',
		'type',
		'contactTime',
		'createTime',
		//'createUserId',
		array(
			'name'=>'createUserId',
			'value'=>$model->createUser->getFullName(),
		),
		'note',
	),
)); ?>
